home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / intact / r3ianp.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.8 KB  |  79 lines

  1.  
  2. // JavaScript wrapper for r3ianp.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IANP_H = 1;
  7. include("real/intact/r3intact.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_IANP = 121;
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. R3IANPA_Points = 121501;
  20. function GetR3IANPA_Points() {
  21.   return R3Get(this.r3obj, R3IANPA_Points, R3TID_VECTOR, R3TNF_ARRAY); 
  22. }
  23.  
  24. R3IANPA_PointCount = 121502;
  25. function GetR3IANPA_PointCount() {
  26.   return R3Get(this.r3obj, R3IANPA_PointCount, R3TID_INTEGER, 0); 
  27. }
  28.  
  29. R3IANPA_BufferSize = 121503;
  30. function GetR3IANPA_BufferSize() {
  31.   return R3Get(this.r3obj, R3IANPA_BufferSize, R3TID_INTEGER, 0); 
  32. }
  33.  
  34. R3IANPA_NoDraw = 121504;
  35. function SetR3IANPA_NoDraw(value) {
  36.   R3Set(this.r3obj, R3IANPA_NoDraw, value, R3TID_BOOLEAN, 0); 
  37. }
  38.  
  39. R3IANPA_FreeHand = 121505;
  40. function SetR3IANPA_FreeHand(value) {
  41.   R3Set(this.r3obj, R3IANPA_FreeHand, value, R3TID_INTEGER, 0); 
  42. }
  43.  
  44. function GetR3IANPA_FreeHand() {
  45.   return R3Get(this.r3obj, R3IANPA_FreeHand, R3TID_INTEGER, 0); 
  46. }
  47.  
  48. R3IANPA_MaxCount = 121506;
  49. function SetR3IANPA_MaxCount(value) {
  50.   R3Set(this.r3obj, R3IANPA_MaxCount, value, R3TID_INTEGER, 0); 
  51. }
  52.  
  53. R3IANPA_FinalCount = 121507;
  54. function GetR3IANPA_FinalCount() {
  55.   return R3Get(this.r3obj, R3IANPA_FinalCount, R3TID_INTEGER, 0); 
  56. }
  57.  
  58.  
  59.  
  60. function r3Ianp () { 
  61.    this.base = r3God;
  62.    if(arguments.length) {
  63.       this.base(R3CLID_IANP, arguments);
  64.    }
  65.    // Methods
  66.  
  67.    // Attributes
  68.    this.GetPoints=GetR3IANPA_Points;
  69.    this.GetPointCount=GetR3IANPA_PointCount;
  70.    this.GetBufferSize=GetR3IANPA_BufferSize;
  71.    this.SetNoDraw=SetR3IANPA_NoDraw;
  72.    this.GetFreeHand=GetR3IANPA_FreeHand;
  73.    this.SetFreeHand=SetR3IANPA_FreeHand;
  74.    this.SetMaxCount=SetR3IANPA_MaxCount;
  75.    this.GetFinalCount=GetR3IANPA_FinalCount;
  76. }
  77.  
  78. r3Ianp.prototype=new r3Intact;
  79. // r3ianp.h_H